package com.neiquan.backstage.user;

import java.util.List;

import com.neiquan.backstage.pub.bsc.dao.po.User;

public interface UserService {
	User queryByopendId(String openId, Integer memberId);
	
	User queryByName(String name, Integer memberId);
	
	User queryByPhone(String phone, Integer memberId);

	User queryById(Integer id);
	
	List<User> queryByentreprEneurName(String entrepreneurName,int memberId);
	/**
	 * 查询该企业的boss
	 * @param memberId
	 * @param entrepreneurUniqueId
	 * @return
	 */
	List<User> queryByStatus(Integer memberId,String entrepreneurUniqueId);
	/**
	 * 查询该该企业的员工
	 * @param memberId
	 * @param entrepreneurUniqueId
	 * @return
	 */
	List<User> queryEmplByStatus(Integer memberId,String entrepreneurUniqueId);
}
